@import "../var/breakpoints";

@mixin for-size($media) {
  @each $breakpoint in $breakpoints {
    @if $media == nth($breakpoint, 1) {
      @media (min-width: #{nth($breakpoint, 2)}) {
        @content;
      }
    }
  }
}
